package com.school.repair.dao;


import com.school.repair.entity.Todo;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface TodoDao {
    List<Todo> todoSearch(@Param("pageNo") int pageNo, @Param("pageSize") int pageSize, @Param("createdate") String createdate, @Param("status") int status, @Param("name") String name);

    int searchTotal(@Param("createdate") String createdate, @Param("status") int status, @Param("name") String name);

    int add(Todo td);
}
